/*
 * @Description:
 * @Autor: HuiSir<273250950@qq.com>
 * @Date: 2020-08-05 16:40:39
 * @LastEditTime: 2020-08-05 19:12:57
 */

//store子模块需要开启命名空间，然后在组件中引入vuex的 `createNamespacedHelpers` 方法来调用相应模块的内容:
//import { createNamespacedHelpers } from 'vuex'
//const { mapState, mapActions } = createNamespacedHelpers('some/nested/module')
export default {
  namespaced: true,
  state: {
    test3: 'sdaasddadas'
  },
  mutations: {
    setTest(state) {
      state.test2 = '222'
    }
  },
  getters: {},
  actions: {}
}
